package com.syh.jn.scm.domain.downstream.event.system;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.downstream.entity.system.DownAccount;

public class DownAccountEvent extends DomainEvent<DownAccount> {

	public static final String DOWN_ACCOUNT_PHONE_UNTYED = "downAccountPhoneUntyed";
	public static DownAccountEvent buildDownAccountPhoneUntyed(Object[] values){
		DownAccountEvent event = new DownAccountEvent();
		event.eventName = DOWN_ACCOUNT_PHONE_UNTYED;
		event.values = values;
		return event;
	}

	public static final String DOWN_ACCOUNT_DISABLED = "downAccountDisabled";
	public static DownAccountEvent buildDownAccountDisabled(Object[] values){
		DownAccountEvent event = new DownAccountEvent();
		event.eventName = DOWN_ACCOUNT_DISABLED;
		event.values = values;
		return event;
	}

	public static final String DOWN_ACCOUNT_DELETED = "downAccountDeleted";
	public static DownAccountEvent buildDownAccountDeleted(Object[] values){
		DownAccountEvent event = new DownAccountEvent();
		event.eventName = DOWN_ACCOUNT_DELETED;
		event.values = values;
		return event;
	}

}
